export const ACCESS_TOKEN = 'X-Access-Token'
export const SIDEBAR_TYPE = 'SIDEBAR_TYPE'
export const DEFAULT_THEME = 'DEFAULT_THEME'
export const DEFAULT_LAYOUT_MODE = 'DEFAULT_LAYOUT_MODE'
export const DEFAULT_COLOR = 'DEFAULT_COLOR'
export const DEFAULT_COLOR_WEAK = 'DEFAULT_COLOR_WEAK'
export const DEFAULT_FIXED_HEADER = 'DEFAULT_FIXED_HEADER'
export const DEFAULT_FIXED_SIDEMENU = 'DEFAULT_FIXED_SIDEMENU'
export const DEFAULT_FIXED_HEADER_HIDDEN = 'DEFAULT_FIXED_HEADER_HIDDEN'
export const DEFAULT_CONTENT_WIDTH_TYPE = 'DEFAULT_CONTENT_WIDTH_TYPE'
export const DEFAULT_MULTI_TAB = 'DEFAULT_MULTI_TAB'

export const USER_NAME = 'Login_Username'
export const USER_INFO = 'Login_Userinfo'
export const USER_AUTH = 'LOGIN_USER_BUTTON_AUTH'
export const SYS_BUTTON_AUTH = 'SYS_BUTTON_AUTH'

export const SHOW_USER_DEPART_SELECT = 'SHOW_USER_DEPART_SELECT'
export const INDEX_MAIN_PAGE_PATH = '/dashboard/analysis'

export const CONTENT_WIDTH_TYPE = {
  Fluid: 'Fluid',
  Fixed: 'Fixed'
}

/**
 * 用户性别的枚举
 */
export const USER_GENDER_ENUM = {
  MALE: { KEY: 1, NAME: '男' },
  FEMALE: { KEY: 2, NAME: '女' },
  NONE: { KEY: -1, NAME: '未指定' }
}

/**
 * 用户状态的枚举
 */
export const USER_STATUS_ENUM = {
  ENABLE: { KEY: 1, NAME: '在职' },
  DISABLE: { KEY: 2, NAME: '离职' }
}

/**
 * 文章信息的状态枚举
 */
export const ARTICLE_STATUS_ENUM = {
  INIT: { KEY: 'init', NAME: '草稿' },
  ENABLE: { KEY: 'enable', NAME: '已发布' },
  DISABLE: { KEY: 'disable', NAME: '已下架' }
}

/**
 * 案列的状态枚举
 */
export const CASE_INFO_STATUS_ENUM = {
  INIT: { KEY: 'init', NAME: '草稿' },
  ENABLE: { KEY: 'enable', NAME: '已发布' },
  DISABLE: { KEY: 'disable', NAME: '已下架' }
}

/**
 * 案列评论的状态枚举
 */
export const CASE_COMMENT_STATUS_ENUM = {
  ENABLE: { KEY: 'enable', NAME: '显示' },
  DISABLE: { KEY: 'disable', NAME: '隐藏' }
}

/**
 * 商品上架状态枚举
 */
export const COMMODITY_ISSUE_STATUS_ENUM = {
  RELEASE: { KEY: 'release', NAME: '已上架' },
  UNRELEASED: { KEY: 'unreleased', NAME: '未上架' }
}

/**
 * 商品上架状态枚举
 */
export const COMMODITY_RECYCLE_STATUS_ENUM = {
  NORMAL: { KEY: 'normal', NAME: '正常' },
  RECYCLE: { KEY: 'recycle', NAME: '回收' }
}

/**
 * 订单配送方式枚举
 */
export const ORDER_STATUS_ENUM = {
  INIT: { KEY: 'init', NAME: '待处理' },
  PROCESSING: { KEY: 'processing', NAME: '进行中' },
  FINISH: { KEY: 'finish', NAME: '已完成' }
}

/**
 * 订单来源枚举
 */
export const ORDER_SOURCE_ENUM = {
  CUSTOMER: { KEY: 'customer', NAME: '客户下单' },
  REPLACE: { KEY: 'replace', NAME: '代客下单' }
}

/**
 * 订单支付模式枚举
 */
export const ORDER_PAYMENT_MODE_ENUM = {
  OFFLINE: { KEY: 'offline', NAME: '线下' },
  OTHER: { KEY: 'other', NAME: '其他' }
}

/**
 * 订单配送方式枚举
 */
export const ORDER_DISTRIBUTION_MODE_ENUM = {
  EXPRESS: { KEY: 'express', NAME: '快递' },
  NEEDLESS: { KEY: 'needless', NAME: '不需快递' }
}
